package com.kevin.designpattern.state.after;


/**
 * 抽象状态类
 */
public abstract class LiftState {

    //环境角色类对像
    protected Context context;

    public void setContext(Context context) {
        this.context = context;
    }

    public abstract void open();

    public abstract void close();

    public abstract void run();

    public abstract void stop();
}
